{template "head.htm"}

    <div id="main">
		<div id="left">Left</div>
		<div id="right">
			<h2>登录页面</h2>
		<div id="Message"><!--{if (!$logged)}-->验证码错误<!--{elseif (!$isname)}-->用户名格式错误<!--{else}-->请输入相关信息<!--{/if}--></div>
        <form method="POST" action="{$root}/ec.php?ac=login">
        <p>
            <label class="label_input" for="username">用户名</label><br />
            <input tabindex="1" type="text" id="username" name="username" onBlur="checkUserName()" class="input_text" value="baiyuxiong" /><span id="checkusername">&nbsp;</span>
        </p>
        <p>
            <label class="label_input" for="password">登录密码</label><br />
            <input tabindex="3" type="password" id="password" name="password" class="input_text" value="52161625" maxlength="32" />
        </p>
		<p>
            <label class="label_input" for="password">验证码</label><br />
			<img src="code\index.php"><br />
            <input tabindex="3" type="text" id="code" name="code" class="input_text" value="" maxlength="32" />
        </p>
        <p class="act">
            <input tabindex="5" type="submit"  value="登录"/>&nbsp;&nbsp;or&nbsp;&nbsp;<a href="{$root}/ec.php?ac=register" >注册</a>
        </p>
        </form>
		</div>
    </div>

{template "foot.htm"}